{% extends "base.html" %}

{% block title %}教练团队 - 万岛潜水{% endblock %}

{% block content %}
<div class="container">
    <h1 class="text-center mb-5">专业教练团队</h1>
    
    <div class="row mb-4">
        <div class="col-12">
            <div class="card shadow-sm">
                <div class="card-body">
                    <p class="lead text-center mb-0">我们拥有经验丰富的潜水教练，他们都持有国际认可的潜水教练证书，能为您提供专业、安全的潜水指导。</p>
                </div>
            </div>
        </div>
    </div>
    
    <div class="row">
        {% for coach in coaches %}
        <div class="col-md-4 mb-4">
            <div class="card h-100 shadow-sm">
                <img src="{{ url_for('static', filename='uploads/' + coach.photo) }}" class="card-img-top" alt="{{ coach.name }}">
                <div class="card-body">
                    <h5 class="card-title">{{ coach.name }}</h5>
                    <p class="card-text"><span class="badge bg-primary">{{ coach.specialty }}</span></p>
                    <p class="card-text">{{ coach.introduction|truncate(100) }}</p>
                    <p class="card-text"><small class="text-muted">{{ coach.experience }}年潜水经验</small></p>
                    <a href="{{ url_for('main.coach_detail', id=coach.id) }}" class="btn btn-outline-primary">查看详情</a>
                </div>
            </div>
        </div>
        {% endfor %}
    </div>
    
    <div class="row mt-5">
        <div class="col-12">
            <div class="card bg-light">
                <div class="card-body">
                    <h3 class="card-title text-center">为什么选择我们的教练？</h3>
                    <div class="row mt-4">
                        <div class="col-md-4 mb-3">
                            <div class="d-flex">
                                <div class="flex-shrink-0">
                                    <i class="fas fa-certificate fa-2x text-primary"></i>
                                </div>
                                <div class="flex-grow-1 ms-3">
                                    <h5>国际认证</h5>
                                    <p>所有教练均持有国际认可的潜水教练证书，符合全球标准。</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4 mb-3">
                            <div class="d-flex">
                                <div class="flex-shrink-0">
                                    <i class="fas fa-history fa-2x text-primary"></i>
                                </div>
                                <div class="flex-grow-1 ms-3">
                                    <h5>丰富经验</h5>
                                    <p>平均超过5年的教学经验，带领过上千名学员安全潜水。</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4 mb-3">
                            <div class="d-flex">
                                <div class="flex-shrink-0">
                                    <i class="fas fa-language fa-2x text-primary"></i>
                                </div>
                                <div class="flex-grow-1 ms-3">
                                    <h5>多语言沟通</h5>
                                    <p>提供中文、英文、粤语等多语言教学，满足不同客户需求。</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4 mb-3">
                            <div class="d-flex">
                                <div class="flex-shrink-0">
                                    <i class="fas fa-shield-alt fa-2x text-primary"></i>
                                </div>
                                <div class="flex-grow-1 ms-3">
                                    <h5>安全第一</h5>
                                    <p>严格遵循安全规程，定期参加急救和救援培训。</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4 mb-3">
                            <div class="d-flex">
                                <div class="flex-shrink-0">
                                    <i class="fas fa-heart fa-2x text-primary"></i>
                                </div>
                                <div class="flex-grow-1 ms-3">
                                    <h5>热情服务</h5>
                                    <p>耐心细致，关注每位学员的需求，提供个性化指导。</p>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-4 mb-3">
                            <div class="d-flex">
                                <div class="flex-shrink-0">
                                    <i class="fas fa-map-marked-alt fa-2x text-primary"></i>
                                </div>
                                <div class="flex-grow-1 ms-3">
                                    <h5>熟悉潜点</h5>
                                    <p>对外伶仃岛周边潜点了如指掌，带您探索最佳潜水地点。</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <div class="row mt-5">
        <div class="col-12">
            <div class="card bg-primary text-white">
                <div class="card-body text-center p-4">
                    <h3 class="card-title">想与我们的教练一起潜水？</h3>
                    <p class="card-text">立即预约，开启您的海底探险！</p>
                    <a href="{{ url_for('main.courses') }}" class="btn btn-light btn-lg">查看课程</a>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %} 